/*
 * Utils.cpp
 *
 */

#include "Utils.h"
#include <sstream>

Utils::Utils() {}

Utils::~Utils() {}

std::string Utils::toString(int value) {
	std::stringstream ss;
	ss << value;
	std::string result;
	ss >> result;
	return result;
}

int Utils::parseInt(const std::string& value) {
	std::stringstream ss;
	ss << value;
	int result;
	ss >> result;
	return result;
}
